import request from '@/utils/request'

export function getDetail(params) {
  return request({
    url: '/api/syscommdetail/list',
    method: 'get',
    params: params
  })
}

export function updateDetail(data) {
  return request({
    url: '/api/syscommdetail/update',
    method: 'post',
    data: data
  })
}

export function insertDetail(data) {
  return request({
    url: '/api/syscommdetail/insert',
    method: 'post',
    data: data
  })
}

export function delDetail(data) {
  return request({
    url: '/api/syscommdetail/delete',
    method: 'post',
    data: data
  })
}
